package controller.menus;

import gui.menus.MenuLevelActions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class RestartLevelMenuItemController implements ActionListener {

	private MenuLevelActions actionHandler;

	public RestartLevelMenuItemController(MenuLevelActions actionHandler) {
		this.actionHandler = actionHandler;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		this.actionHandler.actionRestartLevel();
	}

}
